From 56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 11 Feb 2026 20:10:43 -0800 Subject: format --- .../send/lightning/[payreq]/[...memo]/+page.svelte | 26 +++++----------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to 'src/routes/(app)/send/lightning/[payreq]') diff --git a/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte b/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte index 718f3ee2..fbafd7d4 100644 --- a/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte +++ b/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte @@ -34,9 +34,7 @@ let show = $state(false); let toggle = () => (show = !show); let amount = $derived(form?.amount || data.amount); - let maxfee = $state( - Math.max(5, Math.round(untrack(() => amount) * 0.02 || 0)), - ); + let maxfee = $state(Math.max(5, Math.round(untrack(() => amount) * 0.02 || 0))); $effect(() => { maxfee = Math.max(5, Math.round(amount * 0.02) || 0); }); @@ -144,9 +142,7 @@ {#if form?.message || showMax}
- +
{$t("payments.maxFeeDesc")} @@ -155,23 +151,13 @@
{/if} - + {/if}
-- cgit v1.2.3